//
//  PhotoUntil.h
//  UkongM_1.7
//
//  Created by ukongm on 16/8/9.
//  Copyright © 2016年 ukongm. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol PhotoUntilDelegate <NSObject>

- (void)imageWithImage:(UIImage*)image;

@end

@interface PhotoUntil : NSObject<UIImagePickerControllerDelegate,UINavigationControllerDelegate>

+ (instancetype)sharedWithTager:(UIViewController<PhotoUntilDelegate>*)tager;
/**
 *  打开相机
 */
- (void)openCamera;

- (void)openCameraWithEdit:(BOOL)isEdit;

/**
 *  打开相册
 */
- (void)openPhotoList;

- (void)openPhotoListWithEdit:(BOOL)isEdit;

@end
